import App from './App.vue'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
// import VConsole from 'vconsole';
// let vConsole = new VConsole();
import { commonApi } from "@/utils/common-ajax.js";
let jweixin = require('jweixin-module')

Vue.prototype.$wx = jweixin
    // 引入uView
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

// 引入store
import store from './store'

// 如果您是App开发，请不要删除下一行代码
// #ifdef APP-PLUS
import { initUni } from '@/uni_modules/uview-ui/libs/mixin/index.js'
initUni()
    // #endif

// 引入权限控制
import './permission'

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    store,
    ...App
})
app.$mount()
    // #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
    const app = createSSRApp(App)
    return {
        app
    }
}
// #endif
